home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Me-Mz / MegaHome™ II 3.03.cpt / MegaHome™ II 3.03 / Home / background_6480.xml < prev    next >
Extensible Markup Language  |  1992-02-21  |  23KB  |  530 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>6480</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_5496.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_7199.css" />
  11.     <part>
  12.         <id>34</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>30</left>
  23.             <top>24</top>
  24.             <right>508</right>
  25.             <bottom>323</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font></font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>deselect (ii)</name>
  40.         <script>on mouseUpdoADeselectend mouseUp</script>
  41.     </part>
  42.     <part>
  43.         <id>6</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>202</left>
  54.             <top>321</top>
  55.             <right>225</right>
  56.             <bottom>342</bottom>
  57.         </rect>
  58.         <style>transparent</style>
  59.         <showName> <false /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <false /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>26402</icon>
  66.         <textAlign>center</textAlign>
  67.         <font></font>
  68.         <textSize>12</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <name>Prev</name>
  71.         <script>on mouseUpvisual wipe rightgo prev cd in this bgend mouseUp</script>
  72.     </part>
  73.     <part>
  74.         <id>7</id>
  75.         <type>button</type>
  76.         <visible> <true /> </visible>
  77.         <reserved5> 0 </reserved5>
  78.         <reserved4> 0 </reserved4>
  79.         <reserved3> 0 </reserved3>
  80.         <reserved2> 0 </reserved2>
  81.         <reserved1> 0 </reserved1>
  82.         <enabled> <true /> </enabled>
  83.         <rect>
  84.             <left>316</left>
  85.             <top>321</top>
  86.             <right>339</right>
  87.             <bottom>342</bottom>
  88.         </rect>
  89.         <style>transparent</style>
  90.         <showName> <false /> </showName>
  91.         <highlight> <false /> </highlight>
  92.         <autoHighlight> <false /> </autoHighlight>
  93.         <sharedHighlight> <true /> </sharedHighlight>
  94.         <family>0</family>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>1832</icon>
  97.         <textAlign>center</textAlign>
  98.         <font></font>
  99.         <textSize>12</textSize>
  100.         <textStyle>plain</textStyle>
  101.         <name>Next</name>
  102.         <script>on mouseUpvisual wipe leftgo next cd in this bgend mouseUp</script>
  103.     </part>
  104.     <part>
  105.         <id>8</id>
  106.         <type>field</type>
  107.         <visible> <true /> </visible>
  108.         <dontWrap> <false /> </dontWrap>
  109.         <dontSearch> <false /> </dontSearch>
  110.         <sharedText> <false /> </sharedText>
  111.         <fixedLineHeight> <true /> </fixedLineHeight>
  112.         <autoTab> <false /> </autoTab>
  113.         <lockText> <true /> </lockText>
  114.         <rect>
  115.             <left>293</left>
  116.             <top>325</top>
  117.             <right>319</right>
  118.             <bottom>337</bottom>
  119.         </rect>
  120.         <style>transparent</style>
  121.         <autoSelect> <false /> </autoSelect>
  122.         <showLines> <false /> </showLines>
  123.         <wideMargins> <false /> </wideMargins>
  124.         <multipleLines> <false /> </multipleLines>
  125.         <reservedFamily> 0 </reservedFamily>
  126.         <titleWidth>0</titleWidth>
  127.         <icon>0</icon>
  128.         <textAlign>center</textAlign>
  129.         <font>Geneva</font>
  130.         <textSize>9</textSize>
  131.         <textStyle>plain</textStyle>
  132.         <textHeight>12</textHeight>
  133.         <name>Page</name>
  134.         <script></script>
  135.     </part>
  136.     <part>
  137.         <id>29</id>
  138.         <type>field</type>
  139.         <visible> <false /> </visible>
  140.         <dontWrap> <false /> </dontWrap>
  141.         <dontSearch> <false /> </dontSearch>
  142.         <sharedText> <false /> </sharedText>
  143.         <fixedLineHeight> <true /> </fixedLineHeight>
  144.         <autoTab> <false /> </autoTab>
  145.         <lockText> <true /> </lockText>
  146.         <rect>
  147.             <left>74</left>
  148.             <top>266</top>
  149.             <right>205</right>
  150.             <bottom>285</bottom>
  151.         </rect>
  152.         <style>transparent</style>
  153.         <autoSelect> <false /> </autoSelect>
  154.         <showLines> <true /> </showLines>
  155.         <wideMargins> <false /> </wideMargins>
  156.         <multipleLines> <false /> </multipleLines>
  157.         <reservedFamily> 0 </reservedFamily>
  158.         <titleWidth>0</titleWidth>
  159.         <icon>0</icon>
  160.         <textAlign>left</textAlign>
  161.         <font>Geneva</font>
  162.         <textSize>12</textSize>
  163.         <textStyle>plain</textStyle>
  164.         <textHeight>16</textHeight>
  165.         <name>OPENF</name>
  166.         <script></script>
  167.     </part>
  168.     <part>
  169.         <id>37</id>
  170.         <type>button</type>
  171.         <visible> <true /> </visible>
  172.         <reserved5> 0 </reserved5>
  173.         <reserved4> 0 </reserved4>
  174.         <reserved3> 0 </reserved3>
  175.         <reserved2> 0 </reserved2>
  176.         <reserved1> 0 </reserved1>
  177.         <enabled> <true /> </enabled>
  178.         <rect>
  179.             <left>143</left>
  180.             <top>325</top>
  181.             <right>198</right>
  182.             <bottom>340</bottom>
  183.         </rect>
  184.         <style>rectangle</style>
  185.         <showName> <true /> </showName>
  186.         <highlight> <false /> </highlight>
  187.         <autoHighlight> <true /> </autoHighlight>
  188.         <sharedHighlight> <true /> </sharedHighlight>
  189.         <family>0</family>
  190.         <titleWidth>0</titleWidth>
  191.         <icon>0</icon>
  192.         <textAlign>center</textAlign>
  193.         <font>Geneva</font>
  194.         <textSize>9</textSize>
  195.         <textStyle>plain</textStyle>
  196.         <name>Open Stack</name>
  197.         <script>on mouseUpdoMenu "Open Stack..."end mouseUp</script>
  198.     </part>
  199.     <part>
  200.         <id>38</id>
  201.         <type>button</type>
  202.         <visible> <true /> </visible>
  203.         <reserved5> 0 </reserved5>
  204.         <reserved4> 0 </reserved4>
  205.         <reserved3> 0 </reserved3>
  206.         <reserved2> 0 </reserved2>
  207.         <reserved1> 0 </reserved1>
  208.         <enabled> <true /> </enabled>
  209.         <rect>
  210.             <left>343</left>
  211.             <top>325</top>
  212.             <right>392</right>
  213.             <bottom>340</bottom>
  214.         </rect>
  215.         <style>rectangle</style>
  216.         <showName> <true /> </showName>
  217.         <highlight> <false /> </highlight>
  218.         <autoHighlight> <true /> </autoHighlight>
  219.         <sharedHighlight> <true /> </sharedHighlight>
  220.         <family>0</family>
  221.         <titleWidth>0</titleWidth>
  222.         <icon>0</icon>
  223.         <textAlign>center</textAlign>
  224.         <font>Geneva</font>
  225.         <textSize>9</textSize>
  226.         <textStyle>plain</textStyle>
  227.         <name>Open App</name>
  228.         <script>on mouseUpdoMenu "Open Application‚Ķ"end mouseUp</script>
  229.     </part>
  230.     <part>
  231.         <id>39</id>
  232.         <type>field</type>
  233.         <visible> <true /> </visible>
  234.         <dontWrap> <false /> </dontWrap>
  235.         <dontSearch> <false /> </dontSearch>
  236.         <sharedText> <true /> </sharedText>
  237.         <fixedLineHeight> <true /> </fixedLineHeight>
  238.         <autoTab> <false /> </autoTab>
  239.         <lockText> <true /> </lockText>
  240.         <rect>
  241.             <left>227</left>
  242.             <top>325</top>
  243.             <right>304</right>
  244.             <bottom>337</bottom>
  245.         </rect>
  246.         <style>transparent</style>
  247.         <autoSelect> <false /> </autoSelect>
  248.         <showLines> <false /> </showLines>
  249.         <wideMargins> <false /> </wideMargins>
  250.         <multipleLines> <false /> </multipleLines>
  251.         <reservedFamily> 0 </reservedFamily>
  252.         <titleWidth>0</titleWidth>
  253.         <icon>0</icon>
  254.         <textAlign>center</textAlign>
  255.         <font>Geneva</font>
  256.         <textSize>9</textSize>
  257.         <textStyle>bold</textStyle>
  258.         <textHeight>12</textHeight>
  259.         <name>kard</name>
  260.         <script></script>
  261.     </part>
  262.     <part>
  263.         <id>40</id>
  264.         <type>button</type>
  265.         <visible> <true /> </visible>
  266.         <reserved5> 0 </reserved5>
  267.         <reserved4> 0 </reserved4>
  268.         <reserved3> 0 </reserved3>
  269.         <reserved2> 0 </reserved2>
  270.         <reserved1> 0 </reserved1>
  271.         <enabled> <true /> </enabled>
  272.         <rect>
  273.             <left>488</left>
  274.             <top>24</top>
  275.             <right>504</right>
  276.             <bottom>38</bottom>
  277.         </rect>
  278.         <style>transparent</style>
  279.         <showName> <false /> </showName>
  280.         <highlight> <false /> </highlight>
  281.         <autoHighlight> <false /> </autoHighlight>
  282.         <sharedHighlight> <true /> </sharedHighlight>
  283.         <family>0</family>
  284.         <titleWidth>0</titleWidth>
  285.         <icon>0</icon>
  286.         <textAlign>center</textAlign>
  287.         <font></font>
  288.         <textSize>12</textSize>
  289.         <textStyle>plain</textStyle>
  290.         <name>Home</name>
  291.         <script>on mouseUpgo firstend mouseUp</script>
  292.     </part>
  293.     <part>
  294.         <id>42</id>
  295.         <type>button</type>
  296.         <visible> <true /> </visible>
  297.         <reserved5> 0 </reserved5>
  298.         <reserved4> 0 </reserved4>
  299.         <reserved3> 0 </reserved3>
  300.         <reserved2> 0 </reserved2>
  301.         <reserved1> 0 </reserved1>
  302.         <enabled> <true /> </enabled>
  303.         <rect>
  304.             <left>487</left>
  305.             <top>37</top>
  306.             <right>503</right>
  307.             <bottom>53</bottom>
  308.         </rect>
  309.         <style>transparent</style>
  310.         <showName> <false /> </showName>
  311.         <highlight> <false /> </highlight>
  312.         <autoHighlight> <false /> </autoHighlight>
  313.         <sharedHighlight> <true /> </sharedHighlight>
  314.         <family>0</family>
  315.         <titleWidth>0</titleWidth>
  316.         <icon>0</icon>
  317.         <textAlign>center</textAlign>
  318.         <font></font>
  319.         <textSize>12</textSize>
  320.         <textStyle>plain</textStyle>
  321.         <name>Search Paths</name>
  322.         <script>on mouseUpgo card"stacks"end mouseUp</script>
  323.     </part>
  324.     <part>
  325.         <id>44</id>
  326.         <type>button</type>
  327.         <visible> <true /> </visible>
  328.         <reserved5> 0 </reserved5>
  329.         <reserved4> 0 </reserved4>
  330.         <reserved3> 0 </reserved3>
  331.         <reserved2> 0 </reserved2>
  332.         <reserved1> 0 </reserved1>
  333.         <enabled> <true /> </enabled>
  334.         <rect>
  335.             <left>3</left>
  336.             <top>24</top>
  337.             <right>31</right>
  338.             <bottom>323</bottom>
  339.         </rect>
  340.         <style>transparent</style>
  341.         <showName> <false /> </showName>
  342.         <highlight> <false /> </highlight>
  343.         <autoHighlight> <false /> </autoHighlight>
  344.         <sharedHighlight> <true /> </sharedHighlight>
  345.         <family>0</family>
  346.         <titleWidth>0</titleWidth>
  347.         <icon>0</icon>
  348.         <textAlign>center</textAlign>
  349.         <font></font>
  350.         <textSize>12</textSize>
  351.         <textStyle>plain</textStyle>
  352.         <name>clean</name>
  353.         <script>on mouseUpif trapDoubleClick() is true then doACleanUp else doADeselectend mouseUp</script>
  354.     </part>
  355.     <part>
  356.         <id>45</id>
  357.         <type>button</type>
  358.         <visible> <true /> </visible>
  359.         <reserved5> 0 </reserved5>
  360.         <reserved4> 0 </reserved4>
  361.         <reserved3> 0 </reserved3>
  362.         <reserved2> 0 </reserved2>
  363.         <reserved1> 0 </reserved1>
  364.         <enabled> <true /> </enabled>
  365.         <rect>
  366.             <left>490</left>
  367.             <top>66</top>
  368.             <right>502</right>
  369.             <bottom>81</bottom>
  370.         </rect>
  371.         <style>transparent</style>
  372.         <showName> <false /> </showName>
  373.         <highlight> <false /> </highlight>
  374.         <autoHighlight> <false /> </autoHighlight>
  375.         <sharedHighlight> <true /> </sharedHighlight>
  376.         <family>0</family>
  377.         <titleWidth>0</titleWidth>
  378.         <icon>0</icon>
  379.         <textAlign>center</textAlign>
  380.         <font>Geneva</font>
  381.         <textSize>9</textSize>
  382.         <textStyle>plain</textStyle>
  383.         <name>SAFE</name>
  384.         <script>on mouseUpgo card"Ft. Knox‚Ñ¢ Open"end mouseUp</script>
  385.     </part>
  386.     <part>
  387.         <id>47</id>
  388.         <type>field</type>
  389.         <visible> <true /> </visible>
  390.         <dontWrap> <false /> </dontWrap>
  391.         <dontSearch> <false /> </dontSearch>
  392.         <sharedText> <true /> </sharedText>
  393.         <fixedLineHeight> <true /> </fixedLineHeight>
  394.         <autoTab> <false /> </autoTab>
  395.         <lockText> <true /> </lockText>
  396.         <rect>
  397.             <left>7</left>
  398.             <top>312</top>
  399.             <right>58</right>
  400.             <bottom>340</bottom>
  401.         </rect>
  402.         <style>shadow</style>
  403.         <autoSelect> <false /> </autoSelect>
  404.         <showLines> <false /> </showLines>
  405.         <wideMargins> <false /> </wideMargins>
  406.         <multipleLines> <false /> </multipleLines>
  407.         <reservedFamily> 0 </reservedFamily>
  408.         <titleWidth>0</titleWidth>
  409.         <icon>0</icon>
  410.         <textAlign>center</textAlign>
  411.         <font>Geneva</font>
  412.         <textSize>9</textSize>
  413.         <textStyle>plain</textStyle>
  414.         <textHeight>12</textHeight>
  415.         <name>Coords</name>
  416.         <script>on mouseUpif not trapDoubleClick(the rect of me) then exit mouseUpif the shiftKey is down then hide me else coordinatorend mouseUpon mouseStillDowndragTargetend mouseStillDown</script>
  417.     </part>
  418.     <part>
  419.         <id>48</id>
  420.         <type>field</type>
  421.         <visible> <true /> </visible>
  422.         <dontWrap> <false /> </dontWrap>
  423.         <dontSearch> <false /> </dontSearch>
  424.         <sharedText> <true /> </sharedText>
  425.         <fixedLineHeight> <true /> </fixedLineHeight>
  426.         <autoTab> <false /> </autoTab>
  427.         <lockText> <true /> </lockText>
  428.         <rect>
  429.             <left>439</left>
  430.             <top>324</top>
  431.             <right>510</right>
  432.             <bottom>340</bottom>
  433.         </rect>
  434.         <style>shadow</style>
  435.         <autoSelect> <false /> </autoSelect>
  436.         <showLines> <false /> </showLines>
  437.         <wideMargins> <false /> </wideMargins>
  438.         <multipleLines> <false /> </multipleLines>
  439.         <reservedFamily> 0 </reservedFamily>
  440.         <titleWidth>0</titleWidth>
  441.         <icon>0</icon>
  442.         <textAlign>center</textAlign>
  443.         <font>Geneva</font>
  444.         <textSize>9</textSize>
  445.         <textStyle>plain</textStyle>
  446.         <textHeight>12</textHeight>
  447.         <name>Clock</name>
  448.         <script>on mouseUpif not trapDoubleClick(the rect of me) then exit mouseUpif the shiftKey is "down" then hide meelseput the date into mewait 1 secend ifend mouseUpon mouseStillDowndragTargetend mouseStillDown</script>
  449.     </part>
  450.     <part>
  451.         <id>49</id>
  452.         <type>button</type>
  453.         <visible> <true /> </visible>
  454.         <reserved5> 0 </reserved5>
  455.         <reserved4> 0 </reserved4>
  456.         <reserved3> 0 </reserved3>
  457.         <reserved2> 0 </reserved2>
  458.         <reserved1> 0 </reserved1>
  459.         <enabled> <true /> </enabled>
  460.         <rect>
  461.             <left>488</left>
  462.             <top>81</top>
  463.             <right>503</right>
  464.             <bottom>96</bottom>
  465.         </rect>
  466.         <style>transparent</style>
  467.         <showName> <false /> </showName>
  468.         <highlight> <false /> </highlight>
  469.         <autoHighlight> <false /> </autoHighlight>
  470.         <sharedHighlight> <true /> </sharedHighlight>
  471.         <family>0</family>
  472.         <titleWidth>0</titleWidth>
  473.         <icon>0</icon>
  474.         <textAlign>center</textAlign>
  475.         <font>Geneva</font>
  476.         <textSize>12</textSize>
  477.         <textStyle>plain</textStyle>
  478.         <name>Diagnostics</name>
  479.         <script>on mouseUpgo cd "Diagnostics"end mouseUp</script>
  480.     </part>
  481.     <part>
  482.         <id>50</id>
  483.         <type>button</type>
  484.         <visible> <true /> </visible>
  485.         <reserved5> 0 </reserved5>
  486.         <reserved4> 0 </reserved4>
  487.         <reserved3> 0 </reserved3>
  488.         <reserved2> 0 </reserved2>
  489.         <reserved1> 0 </reserved1>
  490.         <enabled> <true /> </enabled>
  491.         <rect>
  492.             <left>489</left>
  493.             <top>52</top>
  494.             <right>502</right>
  495.             <bottom>68</bottom>
  496.         </rect>
  497.         <style>transparent</style>
  498.         <showName> <false /> </showName>
  499.         <highlight> <false /> </highlight>
  500.         <autoHighlight> <false /> </autoHighlight>
  501.         <sharedHighlight> <true /> </sharedHighlight>
  502.         <family>0</family>
  503.         <titleWidth>0</titleWidth>
  504.         <icon>0</icon>
  505.         <textAlign>center</textAlign>
  506.         <font>:HyperCard Stacks:Home</font>
  507.         <textSize>12</textSize>
  508.         <textStyle>plain</textStyle>
  509.         <name>Applications</name>
  510.         <script>on mouseUpgo card "applicationlauncher1"end mouseUp</script>
  511.     </part>
  512.     <content>
  513.         <layer>background</layer>
  514.         <id>39</id>
  515.         <text>Applications</text>
  516.     </content>
  517.     <content>
  518.         <layer>background</layer>
  519.         <id>48</id>
  520.         <text>5:36 PM</text>
  521.     </content>
  522.     <content>
  523.         <layer>background</layer>
  524.         <id>47</id>
  525.         <text>Mouse:0,0</text>
  526.     </content>
  527.     <name>applications</name>
  528.     <script>on openBackgroundset the cursor to 4lock screencreate menu "Manager"doADeselectshow menuBarend openBackgroundon closeBackgroundlock screenif there is a menu "Manager" then delete menu "Manager"end closeBackgroundon resumeStackopenBackgroundpass resumeStackend resumeStackon suspendStackcloseBackgroundpass suspendStackend suspendStackon doMenu itum,menuNameif menuName is not "Manager" then pass doMenuglobal MHselput the number of btns into xif itum is "Dragging" then toggleDragelse if itum is "Mouse Coordinates" then toggleCoordselse if itum is "Launch" then  --OPENgoSelCdput selBtn() into whereput selBtnName() into kdelete char 1 to 13 of kdelete last char of ksendIntercept openMe,whereif "--path: " is in line 1 of the script of (where)thenput line 1 of the script of (where) into kdelete char 1 to 8 of kend ifdoADeselectopen kexit doMenuelse if itum is "Rename‚Ķ" then  --RENAMEgoSelCdput selBtnName() into oldNameput selBtn() into wheresendIntercept renameMe,wheredelete char 1 to 13 of oldNamedelete last char of oldNameask"New name for selected link:" with oldNameput it into ttif tt is empty then exit doMenuset the name of (where) to ttanswer "Change actual (Finder) name also?" with "Yes" or "No"if it is "Yes" thensendIntercept finderRenameMe,whereanswer file "Please locate this application." of type "APPL"if it is empty then exit doMenuput renameFile (it,tt) into erCif erC‚â†0 thenbeep 2answer"Couldn‚Äôt change actual name." with "Cancel"exit doMenuend ifend ifput the script of (where) into theScriptif "--path: " is in line 1 of theScriptthenput "--path: "&pathName(it)&tt into line 1 of theScriptset the script of (where) to theScriptend ifexit doMenuelse if itum is "Change Icon‚Ķ" then  -- NEW ICONgoSelCdput selBtn() into wheresendIntercept iconMe,whereget chooseIcon("New icon for selected link:")if it is empty or it is 0 then exit doMenuset the icon of (where) to itexit doMenuelse if itum is "New Card" then  --NEW CARDset the cursor to 4lock screenset the lockMessages to truego to last cd in this bgput fld "page" into PFsend "doMenu New Card" to hyperCardput PF+1 into fld "page"send openCard to this cdexit doMenuelse if itum is "Remove Card" then --DELETE CARDif item 2 of MHsel is the number of this cd then doADeselectbeep 2answer"Do you really want to delete this entire card?" with "OK" or¬¨"Cancel"if it is "Cancel" then exit doMenuset the cursor to 4lock screenset the lockMessages to truedoMenu"delete card"send "go prev" to HyperCardif fld "page" is 1then set the icon of bg btn "prev" to "‚àöGrey Prev Arrow"else set the icon of bg btn "prev" to "Prev Arrow"if fld "page"‚â•the number of cds of this bgthen put the number of cds of this bg into fld "page"if fld "page"=the number of cds of this bgthen set the icon of bg btn "next" to "‚àöGrey Next Arrow"else set the icon of bg btn "next" to "Next Arrow"else if itum is "Clean Up All" thendoACleanUpexit doMenuelse if itum is "Clean Up Selection" thengoSelCddoACleanUp(the number of (selBtn()))exit doMenuelse if itum is "Place‚Ķ" thengoSelCdput the number of btns into x --≈∏put selBtn() into whereput the number of (where) into nWhereask "Place selected button at what position? (1-"&x&")"¬¨with nWhereif it is nWhere or it is empty then exit doMenusendIntercept placeMe,whereif it<1 or it>x thenbeepexit doMenuend ifset the cursor to 4lock screensetUserLevelFiveselect(where)if it<nWhere thenrepeat until the number of (where)=itdoMenu "Send Farther"end repeatelserepeat until the number of (where)=itdoMenu "Bring Closer"end repeatend ifchoose browse toolrestoreUserLeveldoACleanUp(it)unlock screenput "If the button is not visible, try doing a CLEAN UP ALL."get the mouseLocwait until the mouseLoc is not ithide msgexit doMenuelse if itum is "Deselect" thendoADeselectexit doMenuelse if itum is "Add Application‚Ķ" thenput (the shiftKey is "down") into shKeylock screenanswer file "Choose the application to add." of type "APPL"go to this cdput it into appFileif appFile=empty then exit doMenuset cursor to 4setUserLevelFiveput buttonName(appFile) into appNameput GetAppIcon(appFile,appName) into iconNoif iconNo="0" then exit doMenudoMenu "New Button"put the id of btn (x+1) into appIDset name of btn id appID to appNameset icon of btn id appID to iconNoset style of btn id appID to transparentif shKey is falsethen set the script of btn id appID to emptyelse set the script of btn id appID to "--path: "&appFileput pathName(appFile) into aCif aC&return is not in field "paths" of card "applications" thenif (last char of (field "paths" of card "applications")) is not return¬¨then put return after field"paths" of card "applications"put aC&return after field "paths" of card "applications"global applicationsput field "paths" of card "applications" into applicationsend ifchoose browse toolrestoreUserLeveldoACleanUp (x+1)else if itum is "Remove Link" then  --REMOVE AN APPLICATIONgoSelCdbeep 2put selBtn() into wheresendIntercept removeMe,whereanswer"Do you really want to remove this link?" with "OK"¬¨or "Cancel"if it is "OK" thenpush cdlock screendoADeselectset the cursor to 4setUserLevelFiveselect (where)doMenu"Clear Button"choose browse toolrestoreUserLeveldoADeselectend ifexit doMenuend ifupdMenusend doMenuon openCardif fld "page" is 1then set the icon of bg btn "prev" to "‚àöGrey Prev Arrow"else set the icon of bg btn "prev" to "Prev Arrow"if fld "page"‚â•the number of cds of this bgthen put the number of cds of this bg into fld "page"if fld "page"=the number of cds of this bgthen set the icon of bg btn "next" to "‚àöGrey Next Arrow"else set the icon of bg btn "next" to "Next Arrow"updMenusend openCardon idleglobal MHprefput the short time into field "Clock"if line 3 of MHpref is true and the shiftKey is upthen put the mouseLoc into line 2 of field "Coords"pass idleend idleon updMenusglobal MHpref,maxBtnsif there is no menu "Manager" then exit updMenusset the checkMark of menuItem "Dragging" of menu "Manager" to line 4 of MHprefset the checkMark of menuItem "Mouse Coordinates" of menu "Manager" to line 3 of MHprefset the enabled of menuItem "Remove Card" of menu "Manager" to (fld "page" is not 1)set the enabled of menuItem "Add Application‚Ķ" of menu "Manager" to (the number of btns<maxBtns)end updMenuson longMgrif there is no menu "Manager" then exit longMgrput "Dragging,Mouse Coordinates,-,Launch,-,Rename‚Ķ,Change Icon‚Ķ,-,Add Application‚Ķ,Remove Link,-,New Card,Remove Card,-,Clean Up Selection,Clean Up All,Place‚Ķ,-,Deselect"¬¨into menu "Manager"updMenusend longMgron shortMgrif there is no menu "Manager" then exit shortMgrput "Dragging,Mouse Coordinates,-,Add Application‚Ķ,-,New Card,Remove Card,-,Clean Up All"¬¨into menu "Manager"updMenusend shortMgron mouseUpif "Card Button" is not in the long name of the target then pass mouseUpglobal MHselset the cursor to 4doADeselectif trapDoubleClick(the rect of the target) is not true thensendIntercept selectMeput the id of the target into item 1 of MHselput the number of this cd into item 2 of MHselset the hilite of the target to truelongMgrexit mouseUpelsesendIntercept openMeput the short name of the target into kif "--path: " is in line 1 of the script of the targetthenput line 1 of the script of the target into kdelete char 1 to 8 of kend ifif k is not "HyperCard" then open kend ifend mouseUpon mouseStillDownif "Card Button" is not in the long name of the target then pass mouseStillDowndragTargetend mouseStillDownon reset whatif what‚â†"menuBar" then pass resetset the cursor to 4lock screensend "reset menuBar" to HyperCard --≈∏makeMHMenusglobal MHprefput false into line 15 of MHprefcreate menu "Manager"global MHselif MHsel is not empty then longMgr else shortMgrend reset</script>
  529. </background>
  530.